adds osa function, play, and pause commands