wip on ability to save custom vars
moving to .net 2 and flattening some code