Improving formating of the shell