Load default variables and refactors