Fixed recognizing easy arguments after method
Some changes for Ubuntu and its different shell and mktemp