added root variable to build and deply
fixed double slashes in concatenated links
the deploy script doesnt even try to use scp for now