adding install to mysql and making scripts rerunnable.