Added check to make sure the project variables have been set.
Added logic to change how to handle MySQL creation depending on whether or not the database already exists.
Duh....