Generate demo patch and change port number