Replaces -z with ! for some of the conditional statements