apparently 'config/database.json' means '../config/database.json' locally, but not while being executed in a script