mainwrapper.sh bulked out