Rerouting the external commands