Modified build.bas
Added stack code