remove redundant version statements
ignore temporary files