Added Python version check.