Python script for toolkit