fix call to baremetal script