Added prime factor script