Edited render.py