What a stupid boss, if he does not like that you automatize a process with a script.

What a stupid boss, if he prefers that you use a manual operation for a repetitive task.

What a stupid boss, if he does not like the fact that you are selecting the best solution for your current setup and use-case.

He must have reach his highest level on the Peter Principle.