added db rotate bash script