fix: selected script at root level