Generalized the script a bit for multiple zabbix version. Also to make sure server and agent start on boot. Tested it on fresh 20644 and it works here. Let me know.