added defaultenable parameter to appframework
undid bad commit