working on variable replacements; problem with at what time to replace variables
fixes and extensions to manifest checking