Check if a string is a function. And call this string with arguments. Update SQL files for better layout order