Corrected encoding errors
Added support for editing files via scp