AGB script

thx to florian