code clean up and rewrote kernel options thanks @Iblaststatic2020 for pointing me in the right direction