Added $start_session parameter to run function.