Adds python and python3 gen scripts.