updated build scripts
applied new features (ftp, sftp)