Changed shebang lines so that they work in a virtualenv