introduce bash script that will hopefully replace the pure ruby script