Change afterscript tag