style tweaks
fixed error when program is in a path with spaces