getting script names in factory.