change shebangs to use virtualenv python interpreter. change file format to unix. remove unused imports