Various scripts for bash and PowerShell