Get rid of unused code, add action to posting a label