I agree that we should update API for bash calls. It is curently a bit uncomfortable. However, we need to work with API we already have.