Diverting commands to bash