add frequency script