adding params.relative to options

the relative flag currently does not work because the option is not passed to the transform function
Merge pull request #18 from timhettler/patch-1

adding params.relative to options