Added automatic offset calculation for the EOSM (untested)