fixed if statements | needed quotations for env variable