fixed setup-makefiles.sh and added root files