Bugfixes - asking for port and loading functions