wrapping config's require env in try catch, assigning env to process.env by default