implemented rc command timeout, and converted file to utf-8