some minor scripts