Add function to fill in source urls with parameters