changed function env file

To make it easier for others to generate the right url, the urls are moved to the gruntfile.