edited follows for copying stages and delete scratch