added some changes, fixed running python from java bug

Signed-off-by: Haydar <haydar.issa@carleton.ca>