got it working with a dynamic url