Fix script bugs
Begin database integration, confirm user checks work