Added misc stuff: small library for bash scripts