fixes #52 using crmURL to generate urls