custom link button in machine events