create basic frequency script