moved configure to base directory