Changes to the way command line is called so program will run properly
on both windows and unix