standardized if test syntax for bash functions
Merge pull request #66 from lzamparo/standardize_create

standardized if test syntax for bash functions
Closes #58 and partially addresses #65