changed clitpl to app and other changes