some minor scripts updates