logical rewrite and structural simplifications
added xdebug
now ignoring apache confs