Made root defines work