Added support for .command extension