Added notification for generic error
Added duplicate name checking