added try catch block when creating new config with amp.ini