added polar min ampl script