fixing configuration mechanism to work properly. removed complications.