add support for os reload