enhanced script manager