Move portal setup to a proper place