Outlined main python script