Added function to correctly set url and wrapped addition statement in it.
Merge branch 'master' of https://github.com/mapugina/scheduler