set mode on bin/server