Use separate options for url parts

This makes it possible to configure only specific parts of the target
script url.