Insert code in Define_variables