Switch format() to command line arguement instead of prompt