Adding existing webconsole code