changed output and input directories, cleaned up local output and input dirs