Changing switch '-n' to '-z'