Fix scenes scripts bug