some useful scripts for backend management.