Load the lua file and get the preferences
Starting to work on the init domain function