Change getCommands so it takes the path of the config file to load