Added better error for when parameters is missing, fails at first missing parameter, fixes #72