python script for setup