Removed old shell action functions, tidy up some stuff and comments