Extended handling of static files on tool server, keep it strict on production servers