added new config stuff, alot of code for both line and words