rc file support for app shell (copied from dino)