remove unused deploy file.
add os detection.