Added pre-release hook script for linking database