Updated to use forever from either a specified location or an enviroment variable, this handles situations such as wehn using NVM or forever in a custom location
Added quotes around bash variables in script, this should prevent issues with paths and spaces
Updated readme with --command option.
Sometimes there is no "command" in package.json and in this case, there is magically a function instead, so we quickly check to make sure the --command is not a function so we don't print garbage to bash file
Changed from 'node' to '/usr/bin/env node' this will find the correct node executable no matter where it's located
Removed un-necessary init.d line when using ubuntu 14.04, this just causes errors
Removed env lines and just changed to bare program (can be changed via command line option anyway)