If statements run, tabs don't print right