Updated render script to output to render directory