add configure file functions