Sanitise paths; check for updates.