fixed url to percent encode
added option to sync existing files