Added better error message for missing configuration
Fixed spelling mistake