Moved the storage manager to use the dbscripts