Add hook for creating databases