change python version 3 to 2.7