Moved the directory creation under $HOME to site, function for that added.