Change config files to .json and added NODE_ENV so that node foreman (nf) works