add python version check