Fixed switch from prod to dev database

Now must restart app to switch databases