Found a better way than hardcoding the url.