added support for more actions, and added play buttons