build scripts pre-hooks