fix build and place correctly script