Add support for shell based plugins

A plugin that ends in '.sh' is currently assumed to be a console plugin and is executed once.