added debug logging
added configuration option to specify path to SDK