add option -d --database for db path to all scripts