Update for the regular expression of detecting amp script