more codes about paste deploy.