Check for missing main procedure