taking ls alias out of if structure