Changed ifup coditions on first time save