Nearly works

Still having issues with input command file