sync script with tullys changes