Update script to calc breaks