added an example index, more options to configure ports