script database + cruge