Adds script to package.json