add first version of unfolding: script, macro, rootrc