added remote repo and FTP support