Refactor configuration location