using bash instead of my own module