using Makefiles and fixing path to data output folders in scripts