Fix generating urls and assembling mount objects