Added path detection

Also added auto installer