uses BOOKMARKS_FILE env to fix bleed and allow for config; localizes all function variables