add build with dir