Moved db scripts