Created all modes and context for Adhoc. Hopefully Works. HAVE NOT TESTED YET!