Moved shell commadns into standalone file.