Add port flag and foreman