added #!/usr/bin/env python2 to make file executable