load port dynamically