Made it more useful by allowing you to specify a location for the output and creating the directory as necessary.