Fixed two bugs. One with vars and one with selinux