better handling for SDK path and pkill