cleaned up bash scripts