Script saving problem in the portal