hacked working - not sure about the error passing issues - waiting for author to respond ;)