Fix for #135

Fix for #135

Not sure why you still return SUCCESS when it fails.
I did return FAILURE so that the engine stops loading the extension.