Code format
Remove redundant check
Rename "plugin" to "script"