Replace filename spaces with dashes (-) instead of underscores (_)
Use the last part of the link to name the output files.