added action_search variable and internet permissions.