Add exception handler for project and fix a db script issue.