Add offset to R0 calculation, fix typo, script updates.