add preferences option for target folder location and toggle