Fixed not adding log flags to policy file