fixed a bug of ignoring custom script names
Updated pl translation, thanks to @Piter432 (#4)