fix bug opening PsN R scripts