Changed when FPP loads MySQL and fixed a small error