some modifications for local installation