add max_int_freq.sh