Fixed finalbuilder scripts