added config for ports