fixing last comma issue (tools.wsf)