bash scripts/SQL join commands added