Make old-style imports only import selected apps

Closes #1103