organized/cleaned code added ability to execute python script