added offsets config support