Added log_shorthand, directory creation