change default port
save bins to models file and set default mode
use mode also in profiler