a basic for writing bash scripts