execute basic framefunc and renderfunc code