run scripts and leveldown tasks before building