Fixed execution of mapper cmd