add chk_port script;change some file's mode