removing logs and adjusting py and sh files