fix run scripts