some helper bash stuff