turned output_path options into output in order to accept both file and server outputs