Added functions on bash.