why not to use 'ark'?

It will install system package and manage version bettter than "remote_file / execute" combination.
I will push a PR to you. Accept it if it seems cleaner to you.