Added ability to render script