accessing edit script from the history works