updated bash -c call