update NAMESPACE and cleanup script.