Fixing stuff

Changed createLink