Fixed basdir and connection defaults