fix copyright and make host var