Added IMAGIC_ROOT variable