Updated version numbers.
Moved error reporting outside the success condition.