1. Set NODE_ENV to production and skip dev dependencies when running from scripts. 2. Remove pkg leftovers. Indicate current environment instead.
Update the bash script so that non-standard distros, such as Nixos, will be able to run the file without editing it. This does not affect current behavior; it just makes it so other distros will work OOTB.