add delegated script