update some bash and ncl scripts