Minor changes to the interface

Output now defaults to the directory of the input file