Update fbda.sh

Added code for installing dependencies, compiling PDFs and removing all extra data files.