try/except block for database added
fixed requirements