Adding Register scripts to dev branch

I also fixed the htaccess from the last pull request to have the correct path. The sql file in this request will have to be updated with any changes Drew made (along with the queries in the scripts) but I thought I'd include it for now.