newer versions of ubuntu fail under this script