Adding shell as optoinal parameter