sh doesnt like not getting a variable for read, skipped straight past the sanity check