Updated build_deb_pkg.sh and resloader.sh