update app script to include no db option