added -p flag to mkdir to only create if needed, turned off tracing