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