Removed debug command that was in chunk naming code
Added code to print substitution table.