debugging deploy script, eval & api controllers, plus changes to database config to load custom DB after defaults