scripts now supports both 2 and 3 python version
checking python version