removed debug code added built in flash policy server