change imgs/css to relative paths