version 0.0.3 with error message improvement for permit