Updated alg and added mysql_config