Fix delete script bug and focus issue
1.3.0-cr4