add hostname as a var in compiledir_format