Use bash instead of parsing commands