Implemnted the freequency - thanks to juggle-tux for Tick