Removed slash in dir variables
Rearranged head markup