added guard
paths are now made as urls
added makeurl method
full paths needed for connecto
changes with the pathing of files