Added inifile to main
Updated error messages