Shelling out function to run executable functions from shell