according to #bash it looks good
except the base64 thing, they're still laughing
it  will be fixed as soon as i find a better way