Bash scripts. Tested in Ubuntu 14.04