Fix unnecessary 'script not executable' dialog when deleting scripts.
v1.0.6