changed spawn to exec since spawn causes errors for me on windows