sub_scripting: added set_ignore_magnetometer method
sub_scripting: fixed ignore magnetometer method