Some fixes to copy paste detector
DBDeploy scripts