copy exising build staging code