Uniformize bash scripts