make the script actually work

Signed-off-by: Ricky Elrod <ricky@elrod.me>
Nuke debug bits

Signed-off-by: Ricky Elrod <ricky@elrod.me>
Organize export list

Signed-off-by: Ricky Elrod <ricky@elrod.me>