Added copyright notice and cleanup reset, @host