fix script to accept samping frequency written in floating point.