Bug fixed: '$script' is registered.