Update argument parsing in python launcher