adding run feature and adjusting inputs and buttons