Fixed shell command

Now command returns the appropriate path.. It was returning the module file in the path..