Added code for app-lapp.