added imagesdir to conf file to fix relative paths