Fixed directory creation command as well as logging output