DECLARE
  l_syop_id system_options.syop_id%TYPE;
BEGIN
  INSERT INTO system_options
  SELECT syop_id_the_parent_of
        ,syop_seq.nextval
        ,option_type
        ,NAME||' (Debug)'
        ,description
        ,'efnow095b$.startup'
        ,NULL
        ,display_seq
  FROM   system_options
  WHERE module_name = 'efnow095$.startup'
  AND NOT EXISTS
  (SELECT NULL FROM system_options WHERE module_name = 'efnow095b$.startup')
  ;
  --
  IF SQL%ROWCOUNT > 0 THEN
    INSERT INTO profile_options
      (syop_id
      ,sypr_id)
    SELECT syop_seq.currval
          ,sypr_id
    FROM   profile_options p
          ,system_options  s
    WHERE  p.syop_id = s.syop_id
    AND    s.module_name = 'efnow095$.startup';
  END IF;
  --
END;
