Mode setting credentials for DB to later time in script