Fix relative paths and some formatting