tweaking build and init process