changed file type
implemented power and reset button functionality