some changes to playlab script