Fixed bash stuff