Updated code blocks to bash.