fix hostname check
add env and rc for chromebook