fix line feed code and modify base.sh(using ftp.riken.jp)