bug fixes in the code; Code made flexible regarding EXCEL upload and metadata evaluation. Functions now in "Global.R" file