Added a check for minimum ram and moved mograte_tables to the .config