Add conditional statements for custom functionality based on config file