automatically detects the path now.