Added a check for dev credentials otherwise use environment variables