Some useful scripts I cooked up