Move passwd touch file into if statement