Added min files and general fixes