Updated rendering script