created offset script