bug fix in gsl scripts