Updated run script to work on windows and linux