latest improved version with lightweight admin interface