Fixed version, copyright, and added tmp file creation