revert an unnecessary edit to calculate_new_position. Not sure why it was ever made.
added comments to selfdestruct_tempdir and added cleanup of the zip_file and the parent temp directory to the zip file