Edit comments; improve path detection in sdk.SDK