Can not find a way to start ardupilot on stabilized mode

Hello, i am using ardupilot without rc, i am using it as a stabilizer and data logger. The problem is i need it to automaticly go to stabilized mode when turned on, i can not found a way to do it, thanks for help.

SOLVED: There is a parameter called INITIAL_MODE where you can select the mode to start in on boot