change to using configparser
put index into html dir