one last try before py

lets get this working then i will swap in the
python version ive been working on....

this change should display more output
as to what the error is