separate rendering script