changing of error path constant and adding exception handling 8/31/14