added submitting of output file