fixing package.json so it works as a command line script