Changed to Python version 2.7