Added check for python 2.6.