add configure hooks for port and config dir