Pure BASH script