Distribute bash script ‘silently’ to multiple macos machines

We want to deploy a script ‘silently’ across all mac machines in organization. We have created a bash script that will run using launchd agent. we need to deploy the launchd agent and script on all macos machines. some instructions are needed during installation:

• The bash script ‘script1’ should be added to folder “/Library”

• Read and execute permissions should be added. Manually it can be done by running the command: “sudo chmod 511 /library/script1”

• The Agent “com.script1.plist” should be added to folder “/Library/LaunchAgents”

• Permission should be updated : “sudo chmod 644 /Library/LaunchAgents/com.script1.plist”

Can you please advise how to package all of this and distribute on all machines silently?