Fix for issue #5

This is the fix for issue #5, i.e. support for signed JAR.