Add support for custom main menu script through config file