Code optimisations for Mac OS X (using cyberDuck)