Fix main script reference.