mv eap build into separated script