added Grayline offset option (sometimes Grayline is not accurate)