Add temp creation using mktemp, then cleanup

removes useless argument in invocation. Makes it usable for new users with more ease