Prepare to clone /demo/* logic.