added cleanup script
exports all functions