Update Ubuntu script to be compatible with v6.6. Fixes #2.