This script should work on 13.10