Added WRITE/EXEC support. Added application object.