Updated to use environment specific credentials files