reformatted package.json and updated return codes