updated header.inc so it sends the right actions.