fix snote scripts