Python job submission doesnt run __main__ function