quick hacks in  #!/bin/bash