replace script with bin