Added guard running database setup