main script updated