Fix some issues execing certain commands