Invoke ps at first.