Fix paths; add support for http[s] sources