move form tplsettings to last step in get method in script.class