Add support for extensions and commands in PATH