Move theme copy to render() command