Changed it to operate out of tmp instead of home.
Also set it to remove the file on exit