Calling check_variables before init_input