Update for auto render string

Need to change to plugin style.