make scripts and styles relative paths