create an executable file instead of printing to stdout