Updated to use get_apply_opts instead of apply_opts