Reworked Python version check, split constants into it's own script