Added processConfig and fixed bugs in reuse. Fixed typos.