add header and require file from lib