Try to tweak before-script relating to DB