Add header details
autoload main functions
Fixed bug with highlight showing up in wrong place.