* port to using application bundles
* compatibility fixes