added an extension and some formatting to newmachine command