Bugs

Fixed a bug to do with file paths and one to do with url parsing