rearranged more variables for control
updated the gui to include more options