Trying to get set_state.php to work