Random scripts I have written that might be of use later