added script to change powerstate of wifi addapter