Made amends to where plugins are initialised since calling them in the end was causing errors
Added autoread option