Added features to render script