Updated for no controllers

Code updated to allow for portal links to be made when there are no
controllers specified.