fix bug when creating script-entry for localSupp()