set exl output path; cleaned up traversingCells

http://stackoverflow.com/questions/370357/python-variable-scope-question