Or better yet: change the previous line:
```bash
find ./applications -mindepth 1 -maxdepth 1 -type d -printf '%f\n' | while read APPLICATION; do
```