This package is a real pain. I hope someone rescripts it some time
NEEDS ADAPTATION!!!!