made urls relative and fixed images