Collection of scripts created for my phd