MySQL connection is now checked before executing
Added a way to output several mirrors