experiment script bug fix