added basic support for TARGET and SQUASH_INGRESS

also may have fixed the bug in startup