Switched more scripts from defaults.sh to db based setup