Test Prep Rewrite

Changed the directories to find the UI and database files in the
test_prep.sh file.