bibrank tests
bibrank finish
sql: moved legacy scripts