Refactor source command with an include function
Safe source a file with include function