check if directory exists before calling mkdir -p
minor changes to make some code a bit prettier
added support for the -h flag in the Import module
will now re-ask for a certain value if the value would be ""
moved the creation of directories into it's own subroutine