Modified database setup scripts (petascope)