updated configure script to use profile folders in conf/