Can you post the begin of the script? Does it use an asset or assetlist function?