added make dir and changed output formatting