This is handled by the main script