options.target set to destination file

options.target has to be set so relative urls are resolved correctly.